<table width="100%" border="0" style="background:url(images/odbg_19.png) repeat; color:#FFF">
  <tr style="background:url(images/bbc_08.jpg)">
    <td>
    {#if $T.id == 0}
    Resgister New Member
    {#else}
    Update Your Information
    {#/if}
    </td>
  </tr>
  <tr>
    <td> 
    <form id="userform">
    <table width="100%" border="0">
      <tr>
        <td width="99" align="right" valign="top">Name:</td>
        <td width="365"><input type="text" name="userName" value="{$T.userName}" style="width:200px;"></td>
      </tr>
      <tr>
        <td align="right" valign="top">First Name:</td>
        <td><input type="text" name="firstName" value="{$T.firstName}" style="width:200px;"></td>
      </tr>
      <tr>
        <td align="right" valign="top">Phone:</td>
        <td><input type="text" name="phoneNumber" value="{$T.phoneNumber}"></td>
      </tr>
      <tr>
        <td align="right" valign="top">E-Mail:</td>
        <td><input type="text" name="email" value="{$T.email}"></td>
      </tr>
      <tr>
        <td align="right" valign="top">Course:</td>
        <td><input type="text" name="course" value="{$T.course}" style="width:200px;"></td>
      </tr>
      <tr>
        <td align="right" valign="top">Password:</td>
        <td><input type="password" name="password" value="{$T.password}" style="width:80px;"></td>
      </tr>
      <tr>
        <td align="right" valign="top">Address:</td>
        <td><input type="text" name="address" value="{$T.address}" style="width:300px;"></td>
      </tr>
      <tr>
        <td align="right" valign="top">Post Code:</td>
        <td><input type="text" name="postCode" value="{$T.postCode}" style="width:80px;"></td>
      </tr>
      <tr>
        <td align="right">&nbsp;</td>
        <td>
        <input type="hedden" id="newuserId" name="id" value="{$T.id}">
        <input type="hedden" name="role" value="{$T.role}" style="width:80px;">
        </td>
      </tr>
      <tr>
        <td align="right"></td>
        <td>
        <input type="button" value="Save" onClick="saveUser();">
        </td>
      </tr>
    </table>

    </form>
    </td>
  </tr>
</table>

